package ooday05_enum;
/*复杂版的枚举*/
public enum Seasons {
    SPRING("春天","春暖花开","3月"),
    SUMMER("夏天","夏日炎炎","6月"),
    AUTUMN("秋天","秋高气爽","9月"),
    WINTER("冬天","冬雪皑皑","12月");
    private String seasonName;
    private String seasonDesc;
    private String seasonmonth;
    Seasons(String seasonName, String seasonDesc, String seasonmonth) {
        this.seasonName=seasonName;
        this.seasonDesc=seasonDesc;
        this.seasonmonth=seasonmonth;
    }
    public String getSeasonName(){
        return seasonName;
    }
    public String getSeasonDesc(){
        return seasonDesc;
    }
    public String getSeasonmonth(){
        return seasonmonth;
    }
    public void setSeasonName(String seasonName){
        this.seasonName=seasonName;
    }
    public void setSeasonDesc(String seasonDesc){
        this.seasonDesc=seasonDesc;
    }
    public void setSeasonmonth(String seasonmonth){
        this.seasonmonth=seasonmonth;
    }
}
